
package com.intretech.umsin.system.vo;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import com.intretech.umsin.common.entity.Assignment;
import com.intretech.umsin.common.excel.converter.LocalDateTimeConverter;

/**
* @version V1.0
* 岗位信息:sys_post 对应的VO模型类.
* @ClassName: SysPostVo
* @Description: 岗位信息:sys_post 对应的VO模型类.
* @author: 李启联
* @date:   2022-8-16 16:25:07
* @Copyright: Copyright (c) 2022
*/
@ApiModel("岗位信息")
@ExcelIgnoreUnannotated
public class SysPostVo implements Assignment, Serializable {

    // id
    @ApiModelProperty(value = "id" ,dataType="bigint(19)" ,required= true)
    @ExcelProperty(value = "id")
    private Long id;

    // 岗位编码
    @ApiModelProperty(value = "岗位编码" ,dataType="varchar(64)" ,required= false)
    @ExcelProperty(value = "岗位编码")
    private String postCode;

    // 岗位名称
    @ApiModelProperty(value = "岗位名称" ,dataType="varchar(50)" ,required= true)
    @ExcelProperty(value = "岗位名称")
    private String postName;

    // 排序
    @ApiModelProperty(value = "排序" ,dataType="int(10)" ,required= false)
    @ExcelProperty(value = "排序")
    private Integer orderNum;

    // 状态（0正常 1停用）
    @ApiModelProperty(value = "状态（0正常 1停用）" ,dataType="int(10)" ,required= false)
    @ExcelProperty(value = "状态（0正常 1停用）")
    private Integer status;

    // 备注
    @ApiModelProperty(value = "备注" ,dataType="varchar(500)" ,required= false)
    @ExcelProperty(value = "备注")
    private String remark;

    // 版本号
    @ApiModelProperty(value = "版本号" ,dataType="int(10)" ,required= false)
    @ExcelProperty(value = "版本号")
    private Integer version;

    // 租户id
    @ApiModelProperty(value = "租户id" ,dataType="varchar(128)" ,required= false)
    @ExcelProperty(value = "租户id")
    private String tenantId;

    // 创建人
    @ApiModelProperty(value = "创建人" ,dataType="varchar(64)" ,required= false)
    @ExcelProperty(value = "创建人")
    private String creator;

    // 修改人
    @ApiModelProperty(value = "修改人" ,dataType="varchar(64)" ,required= false)
    @ExcelProperty(value = "修改人")
    private String modifier;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间" ,dataType="datetime()" ,required= false)
    @ExcelProperty(value = "创建时间",converter = LocalDateTimeConverter.class)
    private java.time.LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间" ,dataType="datetime()" ,required= false)
    @ExcelProperty(value = "修改时间",converter = LocalDateTimeConverter.class)
    private java.time.LocalDateTime modifyTime;

    public Long getId(){
    return this.id;
    }

    public void setId(Long id){
    this.id = id;
    }
    public String getPostCode(){
    return this.postCode;
    }

    public void setPostCode(String postCode){
    this.postCode = postCode;
    }
    public String getPostName(){
    return this.postName;
    }

    public void setPostName(String postName){
    this.postName = postName;
    }
    public Integer getOrderNum(){
    return this.orderNum;
    }

    public void setOrderNum(Integer orderNum){
    this.orderNum = orderNum;
    }
    public Integer getStatus(){
    return this.status;
    }

    public void setStatus(Integer status){
    this.status = status;
    }
    public String getRemark(){
    return this.remark;
    }

    public void setRemark(String remark){
    this.remark = remark;
    }
    public Integer getVersion(){
    return this.version;
    }

    public void setVersion(Integer version){
    this.version = version;
    }
    public String getTenantId(){
    return this.tenantId;
    }

    public void setTenantId(String tenantId){
    this.tenantId = tenantId;
    }
    public String getCreator(){
    return this.creator;
    }

    public void setCreator(String creator){
    this.creator = creator;
    }
    public String getModifier(){
    return this.modifier;
    }

    public void setModifier(String modifier){
    this.modifier = modifier;
    }
    public java.time.LocalDateTime getCreateTime(){
    return this.createTime;
    }

    public void setCreateTime(java.time.LocalDateTime createTime){
    this.createTime = createTime;
    }
    public java.time.LocalDateTime getModifyTime(){
    return this.modifyTime;
    }

    public void setModifyTime(java.time.LocalDateTime modifyTime){
    this.modifyTime = modifyTime;
    }

    public SysPostVo(){
    }

    @Override
    public String toString(){
        return " SysPostVo ["
             +" id = " +id +" ,"
             +" postCode = " +postCode +" ,"
             +" postName = " +postName +" ,"
             +" orderNum = " +orderNum +" ,"
             +" status = " +status +" ,"
             +" remark = " +remark +" ,"
             +" version = " +version +" ,"
             +" tenantId = " +tenantId +" ,"
             +" creator = " +creator +" ,"
             +" modifier = " +modifier +" ,"
             +" createTime = " +createTime +" ,"
             +" modifyTime = " +modifyTime
        +" ]";
    }

}